package com.engr.springbooteasypoi.design.factory;


import com.engr.springbooteasypoi.design.factory.simple.MacBookFactory;
import com.engr.springbooteasypoi.design.factory.simple.MacFactory;
import com.engr.springbooteasypoi.design.factory.simple.MacProFactory;

public class FactoryTest {

    public static void main(String[] args) {

        MacFactory macPro = new MacProFactory();
        macPro.getMac().open();
        MacFactory macBook = new MacBookFactory();
        macBook.getMac().open();

    }
}
